<?php
$json_arr=array("key=>key1","value=>vallue1");
echo json_encode($json_arr);
?>